<!-- Main content -->
<section class="" ng-init="getSingle()">
    <form ng-if="activedData" ng-class="{'submitted': submitted}" ng-submit="save(activedData)">
        <actions preview-url="activedData.fullPath" back-url="'/portal/language/list'"></actions>
        <div class="row">
            <section class="col-lg-12">
                <div class="form-group">
                    <label class="control-label">Category</label>
                    <select class="form-control mr-2" ng-model="cate" ng-change="activedData.category = cate.title" ng-options="item as item.title for item in cates track by item.prefix"></select>                    
                </div>
                <div class="form-group">
                    <label class="control-label">Value</label>
                    <!--<module-form-editor data="activedData.property" input-class="mr-2"/>-->
                    <input type="text" class="form-control" ng-model="activedData.value" ng-blur="generateDefault(activedData.value,cate)">
                </div>
                <div class="form-group">
                    <label class="control-label">Default Value</label>
                    <input type="text" class="form-control" ng-model="activedData.defaultValue">
                </div>
                <div class="form-group">
                    <label class="control-label">Keyword</label>
                    <input type="text" required class="form-control" ng-model="activedData.keyword">
                </div>

            </section>
        </div>
    </form>
</section>
<!-- /.content -->
